package com.xr.core.system;

import com.xr.qiniuyun.annotation.EnableQiniuyunFileService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableRabbit
@EnableQiniuyunFileService
@EnableScheduling
@EnableAsync
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.xr.core.system.mapper")
public class SaTokenCloudSystem {

    public static void main(String[] args) {
        SpringApplication.run(SaTokenCloudSystem.class, args);
        System.out.println("在线接口文档地址：http://127.0.0.1:40000/doc.html");
    }

}
